#ifndef _SOC_RTC_H_
#define _SOC_RTC_H_

#include "data_type.h"

typedef struct SOC_RTC
{
    uint16_t year;
    uint8_t  month;
    uint8_t  date;
    uint8_t  hour;
    uint8_t  minute;
    uint8_t  second;
    uint8_t  week;
} soc_rtc_t;

void soc_rtc_init(void);

soc_rtc_t * soc_rtc_gettime(void);

#endif
